home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / basic / inpout.zip / INPOUT.DOC < prev    next >
Text File  |  1991-08-31  |  1KB  |  27 lines

  1. InpOut.DLL
  2. Copyright 1991 Jay Munro
  3.  
  4.  
  5. InpOut.DLL is a complete INP and OUT replacement for Visual Basic written
  6. in Assembler.  To use them, place the following declares in your
  7. global or general module.
  8.  
  9. Declare Function Inp Lib "InpOut.DLL" (Byval Port%) As Integer
  10. Declare Sub Out Lib "InpOut.DLL" (Byval Port%,Byval Value%)
  11.  
  12. Use just like their QuickBasic counterparts.
  13. Out  Port%,Value ---- or  X% = Inp (Port%)
  14.  
  15. The complete .ASM source is contained in the InpOut.ASM file.
  16. Response, .DEF, and BAT files are also provided to illustrate the building
  17. of a .DLL.  The Windows SDK will be needed for the LIBW.LIB import library
  18. and the RC compilier.  Masm 5.1 or better may be used to reassemble the file.
  19.  
  20. The Inp Procedure was used as an example in Jay Munro's Writting DLL's and
  21. Controls in Assembly language at the August 1991 Microsoft Developers
  22. Conference.
  23.  
  24. The Demo InpoutDM.MAK  may be loaded into VB.  When run and the button
  25. is pressed, it makes a simple tone by toggling the speaker on and off.
  26.  
  27.